package com.hckjsec.system.domain;

import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 通知公告-人员对象 sys_notice_user
 * 
 * @author cyt
 * @date 2021-10-11
 */
public class SysNoticeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 公告ID */
    @Excel(name = "公告ID")
    private String type;

    /** 公告ID */
    @Excel(name = "类型")
    private Long noticeId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setNoticeId(Long noticeId)
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId()
    {
        return noticeId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("noticeId", getNoticeId())
                .append("userId", getUserId())
                .append("state", getState())
                .toString();
    }
}
